package com.fangxing.base.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * Created by fangxing on 2017/5/8.
 */

@MappedSuperclass
public abstract class BaseEntity extends IdEntity {

    private String creatorId;
    private Date createdDate;
    private String modifiedId;
    private Date modifiedDate;
    private Long lastModifiedTag;

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getModifiedId() {
        return modifiedId;
    }

    public void setModifiedId(String modifiedId) {
        this.modifiedId = modifiedId;
    }

    public Date getModifiedDate() {
        return modifiedDate;
    }

    public void setModifiedDate(Date modifiedDate) {
        this.modifiedDate = modifiedDate;
    }

    public Long getLastModifiedTag() {
        return lastModifiedTag;
    }

    public void setLastModifiedTag(Long lastModifiedTag) {
        this.lastModifiedTag = lastModifiedTag;
    }


}
